/*
 * Singlton.h
 *
 *  Created on: 2015-12-7
 *      Author: Administrator
 */

#ifndef SINGLTON_H_
#define SINGLTON_H_



#include "common.h"
class Singlton {
public:
	static Singlton* getInstance()
		{
			static Singlton instance;
			return &instance;
		}
	int fun();
private:
	Singlton();
	Singlton(const Singlton &);
	Singlton & operator = (const Singlton &);

	virtual ~Singlton();


};

#endif /* SINGLTON_H_ */
